package com.cjh.wechat.core.service;

import java.util.List;
import com.cjh.wechat.commom.pojo.Notify;

public interface NotifyService
{
    public List<Notify> findByUid(String uid, int pageNum, int pageSize);
    
    public int findByUidSum(String uid);
    
    public void updateByUidSelective(Notify notify);
    
    public void agreeApply(Integer no, Integer tno) throws Exception;
    
    public void refuseApply(Integer no) throws Exception;
    
    public void apply(Notify notify) throws Exception;
    
    public boolean isExist(String uid, String fromUid, Integer type);
    
    public int getUnreadMsgNum(String uid);
    
    public void insertSelective(Notify notify);
}
